package com.xiaohao.news.dto;

import com.xiaohao.news.entity.News;
import com.xiaohao.news.entity.NewsType;
import com.xiaohao.news.entity.Type;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class NewsDto extends News {
    private List<NewsType> newsTypes= new ArrayList<>();

    private int likeNum;

    private int commentNum;
}
